package com.shop.cereshop.app.dao.redis;

import com.shop.cereshop.commons.domain.redis.CereRedisKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereRedisKeyDAO {
    int insert(CereRedisKey record);

    int insertSelective(CereRedisKey record);

    void updateByKey(CereRedisKey cereRedisKey);

    void deleteByKey(@Param("key") String key);

    List<CereRedisKey> findAll();

    String findByKey(@Param("key") String key);
}